POV-Ray : Newsgroups : povray.general : Ridged Multifractals : Re: Ridged Multifractals Server Time
6 Aug 2024 04:22:51 EDT (-0400)
  Re: Ridged Multifractals  
From: Gilles Tran
Date: 17 May 2002 08:11:35
Message: <3ce4f377@news.povray.org>

3ce4eb27@news.povray.org...
> Has anyone got a "ready-made" isosurface they could post that
> demonstrates good parameters and scaling to create a landscape with?

Here are the two I used :

// foreground
// the 0.15... at the end makes the terrain flatten in the z direction
isosurface{
    function {y-f_ridged_mf( x*0.5, y*0.5, z*0.5, 1, 2, 9, -1.3,
3,3 )*0.15*(-z+50)/80}
    max_gradient 2.4
    contained_by{box{<-2000,-0.01,-30>,<2000,1,50>}}
    translate y*-0.4
}

// mountain
// the (1-...) at the end makes the terrain flatten in the -x and -z
direction

#declare RESOLUTION = 100;
//#declare RESOLUTION = 1000;
height_field {
    function RESOLUTION,RESOLUTION {
        f_ridged_mf( z*2, y*2, x*2, 1, 2, 9, -0.5,
3,3 )*0.8*(1-y*0.98)*(x+0.2)
    }
    translate <-0.5,0,0>
    scale <120,5,60>
}

--

**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.